<?php echo form_open('modifica/modifica_docente');?>
<input type="text" name="cf" value="" placeholder="inserisci cf"/><?php echo '<b>Codice fiscale docente da modificare<br/>';?>
<input type="text" name="email" value="" placeholder="max 50 caratteri"/><?php echo '<b>Nuova email<br/>'?>
<input type="text" name="telefono" value=""/><?php echo '<b>Nuovo telefono<br/>'?>
<input type="text" name="indirizzo" value="" placeholder="max 30 caratteri"/><?php echo '<b>Nuovo inidirizzo<br/>'?>
<input type="text" name="citta" value="" placeholder="max 30 caratteri"/><?php echo '<b>Nuova citta<br/>'?>
<input type="text" name="cap" value="" placeholder="5 cifre"/><?php echo '<b>Nuovo cap<br/>';
echo '<div><input type="submit" value="Modifica!" /></div>';
print '<table border=1, caption=docenti>';
echo '<tr><td><h3><b>CODICE FISCALE</h3></td><td><h3><b>COGNOME</h3></td><td><h3><b>NOME</h3></td><tr/>';
foreach($docente as $s):
echo '<tr><td>'.$s['cf'].'</td><td>'.$s['cognome'].'
				</td><td>'.$s['nome'].'</td><tr/>';

endforeach;
print '</table>';
echo form_close(); ?>